<%
	String basePath = request.getContextPath() + "/";
	String companyName = new String("Copyright &copy; 2018-2020 恒生芸泰网络科技有限公司".getBytes("ISO-8859-1"),"utf-8");
	String projectName = new String("医疗健康管理平台".getBytes("ISO-8859-1"),"utf-8");

	// 防止缓存
	response.setHeader("Cache-Control","no-cache");
	response.setHeader("Cache-Control","no-store");
	response.setHeader("Pragma","no-cache");
	response.setDateHeader("Expires", 0);
%>
<meta charset="UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">

<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
<%@ taglib uri="http://www.springframework.org/tags" prefix="spring" %>
<c:set var="ctx" value="<%=request.getContextPath()%>" />
<c:set var="now" value="<%=System.currentTimeMillis()%>" />
<c:set var="companyName" value="<%=companyName%>" />
<c:set var="projectName" value="<%=projectName%>" />
<c:set var="pageList" value='<%="[30,50,100]"%>' />
<c:set var="defaultPageSize" value='<%=30%>' />

<link href="${ctx}/css/bootstrap.min.css" rel="stylesheet">
<link href="${ctx}/css/font-awesome.css" rel="stylesheet">
<%--产品审美有待提高，居然嫌弃过场动画--%>
<%--<link href="${ctx}/css/animate.css" rel="stylesheet">--%>
<link href="${ctx}/css/style.css?t=caiyl20181023" rel="stylesheet">
<link href="${ctx}/css/noCache.css?t=20180322" rel="stylesheet">
<link href="${ctx}/css/plugins/bootstrap-table/bootstrap-table-v1.12.css" rel="stylesheet">
<link href="${ctx}/css/plugins/treeview/bootstrap-treeview.css" rel="stylesheet">
<link href="${ctx}/css/plugins/sweetalert/sweetalert.css" rel="stylesheet">
<link href="${ctx}/css/plugins/toastr/toastr.min.css" rel="stylesheet">
<link href="${ctx}/css/plugins/iCheck/custom.css" rel="stylesheet">
<script src="${ctx}/js/common/constant/pfProdConstant.js?t=${now}"></script>
<script src="${ctx}/js/common/constant/pfProdMessage.js?t=${now}"></script>
<script src="${ctx}/js/common/pfprodExtend.js?t=${now}"></script>
<script src="${ctx}/js/jquery.min.js"></script>
<script src="${ctx}/js/jquery.form.js"></script>
<script src="${ctx}/js/bootstrap.min.js"></script>
<script src="${ctx}/js/plugins/sweetalert/sweetalert.min.js"></script>
<script src="${ctx}/js/plugins/bootstrap-table/bootstrap-table-v1.12.js"></script>
<script src="${ctx}/js/plugins/bootstrap-table/bootstrap-table-mobile.min.js"></script>
<script src="${ctx}/js/plugins/suggest/bootstrap-suggest.min.js"></script>
<script src="${ctx}/js/plugins/treeview/bootstrap-treeview.js"></script>
<script src="${ctx}/js/plugins/bootstrap-table/locale/bootstrap-table-zh-CN-v1.12.js"></script>
<script src="${ctx}/js/plugins/toastr/toastr.min.js"></script>
<script src="${ctx}/js/plugins/validate/jquery.validate.min.js"></script>
<script src="${ctx}/js/plugins/validate/messages_zh.min.js"></script>
<script src="${ctx}/js/plugins/layer/laydate/laydate.js"></script>
<script src="${ctx}/js/plugins/iCheck/icheck.min.js"></script>
<%--表单校验通用函数--%>
<script src="${ctx}/js/common/fileUtil.js"></script>
<%--表单校验通用函数--%>
<script src="${ctx}/js/common/pfprod_form.js?t=caiyl20180613"></script>
<%--表格校验通用函数--%>
<script src="${ctx}/js/common/pfprod_table.js"></script>
<%--分页通用函数--%>
<script src="${ctx}/js/common/pfprod-pagination.js"></script>
<%--字符校验-正则--%>
<script src="${ctx}/js/common/esc-check.js"></script>
<%--toastr提示--%>
<script src="${ctx}/js/common/toastr.js"></script>
<%--搜索建议框初始化--%>
<script src="${ctx}/js/common/mySearchFormat.js?t=20180524"></script>
<%--表单校验通用函数--%>
<script src="${ctx}/js/utils/convert_tool.js"></script>
<%--查询的通用函数--%>
<script src="${ctx}/js/utils/sreach_tools.js"></script>
<%--二次确认框通用函数--%>
<script src="${ctx}/js/common/mySwalFormat.js"></script>
<script src="${ctx}/js/common/wd_form.js?t=caiyl20180613"></script>
<%-- 一些重写的js方法--%>
<%--vue加快前端构建速度--%>
<script src="${ctx}/js/common/vue-2.3.4.js"></script>
<script src="${ctx}/js/common/obj_compare.js?t=caiyl20180628"></script>
<%--<link href="${ctx}/css/common/common.css" rel="stylesheet">--%>
<%-- 浏览前 --%>
<link rel="shortcut icon" type="image/x-icon" href="${ctx}/images/common/timg.ico" media="screen" />
<%-- table 序列化方法 --%>
<script src="${ctx}/js/common/data-formatter.js?t=caiyl20181010"></script>
<script src="${ctx}/js/common/myCommon.js"></script>
<%--checkbox和radio美化--%>
<script src="${ctx}/js/common/myICheckFormat.js"></script>
<style>
	label{
		font-weight:normal!important;
	}
</style>
<script type="text/javascript">
var basePath = "<%=basePath%>";
$.ajaxSetup({
    contentType : "application/x-www-form-urlencoded;charset=utf-8",
    complete : function(XMLHttpRequest, textStatus) {
        try {
            var sessionStatus = XMLHttpRequest.getResponseHeader("sessionStatus");
            if (sessionStatus == "NO_ADMIN"){
                location.href = basePath + "loginTimeout";
            } else if (sessionStatus == "NO_PERSSSION"){
                location.href = basePath + "loginPermission";
            }
        } catch (e) {
        }
    }
});

/*$(function () {
    //处理modal高度适应
    $("div.modal-body-height").css("height", modalHeight);
});*/
</script>